STEP 6: Now let's format datetime to only show the time information.

  • Go to and drag Time Format - 09:45 indented inside and at the bottom of the main() function.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)